package com.example.shopping.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.sql.Date;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class User {
    private Integer id;
    private String account;
    private String password;
    private String email;
    private String telphone;
    private Integer points;
    private BigDecimal money;
    private String avatar;
    private LocalDateTime regTime;
    private String status;//0:正常 1:已登录 2:已冻结 3：黑名单
    private LocalDateTime lastLoginTime;
    private String lastLoginIp;

}
